package com.nchu.ft.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@TableName(value = "couple")
public class Couple {
    /**
     * 关系ID
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 丈夫ID
     */
    @TableField(value = "male_id")
    private Integer maleId;

    /**
     * 妻子ID
     */
    @TableField(value = "female_id")
    private Integer femaleId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    public static final String COL_ID = "id";

    public static final String COL_MALE_ID = "male_id";

    public static final String COL_FEMALE_ID = "female_id";

    public static final String COL_CREATE_TIME = "create_time";
}